/* 推荐角标样式 */

.recommend-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  line-height: 1;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) rotate(-15deg);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

/* 统一红色推荐角标样式 */
.recommend-badge--win,
.recommend-badge--draw,
.recommend-badge--lose {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: 1px solid #dc2626;
}

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% {
    transform: scale(0.9) rotate(-15deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.05) rotate(-15deg);
    opacity: 0.8;
  }
}

/* 悬停效果 */
.recommend-badge:hover {
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation-play-state: paused;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .recommend-badge {
    top: -6px;
    right: -6px;
    padding: 1px 4px;
    font-size: 9px;
    border-radius: 6px;
  }
}

/* 确保父容器支持定位 */
.odds-cell {
  position: relative;
}